package com.java.star.mall.front.pojo.param;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

@Data
public class WechatPayParam {

    //小程序 appId
    @JSONField(name = "appid")
    private String appId;

    //商户号
    @JSONField(name = "mch_id")
    private String mchId;

    //随机字符串
    @JSONField(name = "nonce_str")
    private String nonceStr;

    //签名
    @JSONField(name = "sign")
    private String sign;

    //商品描述
    @JSONField(name = "body")
    private String body;

    //商户订单号
    @JSONField(name = "out_trade_no")
    private String outTradeNo;

    //标价金额，单位为分
    @JSONField(name = "total_fee")
    private Integer totalFee;

    //终端ip
    @JSONField(name = "spbill_create_ip")
    private String spbillCreateIp;

    //通知地址
    @JSONField(name = "notify_url")
    private String notifyUrl;

    //交易类型
    @JSONField(name = "trade_type")
    private String tradeType;

    //用户openId
    @JSONField(name = "openid")
    private String openId;
}
